﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wolfy.NetDisk.Core.Model
{
    /// <summary>
    /// 导航栏
    /// </summary>
    public class Navigation : DeleteEntity
    {
        /// <summary>
        /// 导航名称
        /// </summary>
        public string Name { set; get; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon
        {
            set;
            get;
        }
        /// <summary>
        /// 导航url
        /// </summary>
        public string Url { set; get; }
        /// <summary>
        ///一种导航对应一种角色（普通用户，超级管理员）
        /// </summary>
        public Role Role { set; get; }
        /// <summary>
        /// 父级
        /// </summary>
        public Navigation Nav { set; get; }
    }
}
